﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrderForm.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>AdventureWorks</title>
    </head>
<body>
    <form id="form1" runat="server">
    <div>
        <h1>AdventureWorks Order Form</h1>
        <table >
            <tr>
                <td>Customer Name:</td>
                <td>
                    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Address:</td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>City:</td>
                <td>
                    <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>State:</td>
                <td>
                    <asp:DropDownList ID="ddlState" runat="server">
						<asp:ListItem Value="AL">Alabama</asp:ListItem>
						<asp:ListItem Value="AK">Alaska</asp:ListItem>
						<asp:ListItem Value="CA">California</asp:ListItem>
						<asp:ListItem Value="CT">Connecticut</asp:ListItem>
					</asp:DropDownList>
				</td>
            </tr>
            <tr>
                <td>Zip:</td>
                <td>
                    <asp:TextBox ID="txtZip" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>E-mail:</td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Password:</td>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Comment:</td>
                <td>
					<asp:TextBox ID="txtComment" runat="server" Rows="3" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </table>
        <br />
		
		<br />
		<br />
		<br />
           
        <table>
				<tr valign="top">         
					<td>
						Areas of Interest
						<asp:CheckBoxList ID="cblAreas" runat="server" AutoPostBack="True">
							<asp:ListItem>Biking</asp:ListItem>
							<asp:ListItem>Scuba Diving</asp:ListItem>
							<asp:ListItem>Gaming</asp:ListItem>
							<asp:ListItem>Mountain Climbing</asp:ListItem>
							<asp:ListItem>Web Surfing</asp:ListItem>
							<asp:ListItem>Real Surfing</asp:ListItem>
						</asp:CheckBoxList>
					</td>
					<td>
						Age Category
						<br />
						<asp:RadioButtonList ID="rblAge" runat="server" AutoPostBack="true"
							Width="150px">
							<asp:ListItem>Under 21</asp:ListItem>
							<asp:ListItem>21 to 30</asp:ListItem>
							<asp:ListItem>31 to 50</asp:ListItem>
							<asp:ListItem>Over 50</asp:ListItem>
						</asp:RadioButtonList>
					</td>
				</tr>
			</table>
		<br />
		<br />
		<br />
		<br />
				<table border="1">
			<tr valign="top">
				<td>
					Areas of Interest:
				</td>
				<td>
					<asp:Label ID="AreasofInterestLabel" runat="server" Text="" />
				</td>
			</tr>
			<tr valign="top">
				<td>
					Age Category:
				</td>
				<td>
					<asp:TextBox ID="AgeCategoryTextBox" runat="server" 
						ReadOnly="true" />
				</td>
			</tr>
			<tr valign="top">
				<td>
					Mailing Address:
				</td>
				<td id="tdAddress" runat="server" style="width: 200px">    
				</td>
			</tr>
		</table>
		<asp:Button ID="btnSubmit" runat="server" Text="Submit" 
			onclick="btnSubmit_Click" />
		<br />
		<br />		
		<br />
        
		<br />
		<br />		
		<br />
		<br />	
		
    </div>
    
    
    <asp:LinkButton ID="LinkButton1" runat="server" 
        onclick="LinkButton1_Click">Jesse Liberty's Portal</asp:LinkButton>
    
    
    </form>
</body>
</html>
